package helper.form.buttons;

public abstract class BasicButton {

	protected String name;
	protected String cssClass;
	protected String value;
	protected String otherHtml;
	
	
	
	public BasicButton(String value,String name) {
		this.name=name;
		this.value=value;
		this.cssClass="";
		this.otherHtml="";
	}
	
	public BasicButton(String value,String name, String cssClass) {
		this(value,name);
		this.cssClass=cssClass;
	}
	
	public BasicButton(String value,String name, String cssClass, String otherHtml) {
		this(value,name,cssClass);
		this.otherHtml=otherHtml;
	}
	
	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCssClass() {
		return cssClass;
	}
	public void setCssClass(String cssClass) {
		this.cssClass = cssClass;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public String getOtherHtml() {
		return otherHtml;
	}
	public void setOtherHtml(String otherHtml) {
		this.otherHtml = otherHtml;
	}
	

	public abstract String render();
	
}
